package com.easylinkin.linkappapi.crane.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.crane.entity.CraneOperationArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 吊车作业区域表 Mapper 接口
 *
 * @author xy
 * @since 2025-06-16
 */
public interface CraneOperationAreaMapper extends BaseMapper<CraneOperationArea> {
    IPage<CraneOperationArea> queryPageList(Page page, @Param("customQueryParams") CraneOperationArea customQueryParams);

    CraneOperationArea queryById(Long id);

    List<CraneOperationArea> selectByMechanicalId(String mechanicalId);
}